import axios from "axios";
const request = axios.create({
    baseURL: "/mock",
    timeout: 5000
});
request.interceptors.response.use(res => {
    return res.data;
})
//获取广告轮播列表
export const getBanners = () => request.get("/banner");
//获取首页楼层列表
export const getFloors = () => request.get("/floors");